package com.lzw.kotdemo.bean

/**kotDemo
 * Created by lzw on 2018/12/26. 17:03:05
 * 邮箱：632393724@qq.com
 * All Rights Saved! Chongqing AnYun Tech co. LTD
 */
class Person{
    var age :Int = 9
    get() = field.dec()

    var name: String = ""
        get() = field.toUpperCase()
    set(value) {
        field = "Name: $value"
    }
}